package com.example.springboot01.taskscheduler;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author keyer
 * @Description : 描述
 * Created by cyd on 2021-05-06 09:09:07
 */
public class TestMain {
    public static void main(String[] args) {
        // 只要扫描进入容器，即可执行定时任务
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(TaskSchedulerConfig.class);

    }
}
